package com.hexus.eve.comparators;

import java.util.Comparator;

import com.hexus.eve.entities.MarketGroup;

@SuppressWarnings("rawtypes")
public class MarketGroupsComparator implements Comparator {
	@Override
	public int compare(Object mg0, Object mg1) {
		String name0 = ((MarketGroup) mg0).getName();
		String name1 = ((MarketGroup) mg1).getName();
		return name0.compareTo(name1);
	}
}
